package refactor.replacetypecodewithclass;

public class Client {
    public void clientMethod() {
        Person person = new Person(BloodGroup.O);
        person.getBloodGroup().getCode();
        person = new Person(BloodGroup.A);
        person.getBloodGroup().getCode();
        person = new Person(BloodGroup.B);
        person.getBloodGroup().getCode();
        person = new Person(BloodGroup.AB);
        person.getBloodGroup().getCode();
    }
}
